...for the gdk_cursor_new_from_surface work (commit
b2113b73) where the
types of some parameters were changed, and also to silence a critical
GDK_IS_DEVICE when a menu item is selected (courtesy of LE GARREC Vincent
from bug 696756).
https://bugzilla.gnome.org/show_bug.cgi?id=705980
GdkCursor *cursor);\r
static void gdk_device_virtual_warp (GdkDevice *device,\r
GdkScreen *screen,\r
- gint x,\r
- gint y);\r
+ gdouble x,
+ gdouble y);
static void gdk_device_virtual_query_state (GdkDevice *device,\r
GdkWindow *window,\r
GdkWindow **root_window,\r
static void\r
gdk_device_virtual_warp (GdkDevice *device,\r
GdkScreen *screen,\r
- gint x,\r
- gint y)\r
+ gdouble x,
+ gdouble y)
{\r
SetCursorPos (x - _gdk_offset_x, y - _gdk_offset_y);\r
}\r
ReleaseCapture ();\r
}\r
\r
- _gdk_display_device_grab_update (display, device, NULL, 0);\r
+ _gdk_display_device_grab_update (display, device, device, 0);
}\r
\r
static void\r